
#include <iostream>
#include "cgVector2D.h"

using namespace std;
using namespace cgMath;


int main(int argc, char** argv)
{
	cgVector2D firstVector(1.0f, 1.0f);
	cgVector2D secondVector(firstVector);
	cout<<firstVector.x<<"	"<<firstVector.y<<endl;
	cout<<secondVector.x<<"	"<<secondVector.y<<endl;

	firstVector += secondVector;
	secondVector = firstVector;
	cout<<firstVector.x<<"	"<<firstVector.y<<endl;
	cout<<secondVector.x<<"	"<<secondVector.y<<endl;

	firstVector *= 10.0f;
	secondVector += firstVector;
	cout<<firstVector.x<<"	"<<firstVector.y<<endl;
	cout<<secondVector.x<<"	"<<secondVector.y<<endl;

	firstVector *= 10.0f;
	secondVector += firstVector;
	cout<<firstVector.x<<"	"<<firstVector.y<<endl;
	cout<<secondVector.x<<"	"<<secondVector.y<<endl;

	getchar();
	getchar();
	return 0;
}